<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>DefaultNetEventHandler | EasyGameFramework</title>
	<meta name="description" content="Documentation for EasyGameFramework">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header class="tsd-header">
	<div class="tsd-page-toolbar">
		<div class="container header-container">
			<div class="header-logo">
				<a href="../globals.html" class="title">
					<span class="egf-logo"></span>
				</a>
				</select>
			</div>
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Packages</a>
				</li>
				<li>
					<a href="../modules/enet.html">enet</a>
				</li>
				<li>
					<a href="enet.defaultneteventhandler.html">DefaultNetEventHandler</a>
				</li>
			</ul>
			<span class="tsd-breadcrumb-current">Class DefaultNetEventHandler</span>
			<div id="tsd-filter">
				<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
				<div class="tsd-filter-group">
					<input type="checkbox" id="tsd-filter-inherited" checked />
					<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
				</div>
			</div>
			<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">DefaultNetEventHandler</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel">
				<h3>Implements</h3>
				<ul class="tsd-hierarchy">
					<li><a href="../interfaces/enet.__global.enet.ineteventhandler.html" class="tsd-signature-type">INetEventHandler</a></li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onclosed" class="tsd-kind-icon">on<wbr>Closed</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onconnectend" class="tsd-kind-icon">on<wbr>Connect<wbr>End</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#oncustomerror" class="tsd-kind-icon">on<wbr>Custom<wbr>Error</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#ondata" class="tsd-kind-icon">on<wbr>Data</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onerror" class="tsd-kind-icon">on<wbr>Error</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onkick" class="tsd-kind-icon">on<wbr>Kick</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onreconnectend" class="tsd-kind-icon">on<wbr>Reconnect<wbr>End</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onreconnecting" class="tsd-kind-icon">on<wbr>Reconnecting</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onrequesttimeout" class="tsd-kind-icon">on<wbr>Request<wbr>Timeout</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onstartconnenct" class="tsd-kind-icon">on<wbr>Start<wbr>Connenct</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onstartreconnect" class="tsd-kind-icon">on<wbr>Start<wbr>Reconnect</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="enet.defaultneteventhandler.html#onstartrequest" class="tsd-kind-icon">on<wbr>Start<wbr>Request</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onclosed" class="tsd-anchor"></a>
					<h3>on<wbr>Closed</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Closed<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onclosed">onClosed</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:13</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">any</span></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onconnectend" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Connect<wbr>End</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Connect<wbr>End<span class="tsd-signature-symbol">(</span>connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a>, handshakeRes<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onconnectend">onConnectEnd</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:5</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> handshakeRes: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="oncustomerror" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Custom<wbr>Error</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Custom<wbr>Error<span class="tsd-signature-symbol">(</span>dpkg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.idecodepackage.html" class="tsd-signature-type">IDecodePackage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#oncustomerror">onCustomError</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:39</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>dpkg: <a href="../interfaces/enet.__global.enet.idecodepackage.html" class="tsd-signature-type">IDecodePackage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="ondata" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Data</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Data<span class="tsd-signature-symbol">(</span>dpkg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.idecodepackage.html" class="tsd-signature-type">IDecodePackage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:33</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>dpkg: <a href="../interfaces/enet.__global.enet.idecodepackage.html" class="tsd-signature-type">IDecodePackage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onerror" class="tsd-anchor"></a>
					<h3>on<wbr>Error</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Error<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onerror">onError</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:9</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">any</span></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onkick" class="tsd-anchor"></a>
					<h3>on<wbr>Kick</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Kick<span class="tsd-signature-symbol">(</span>dpkg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.idecodepackage.html" class="tsd-signature-type">IDecodePackage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span>, copt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onkick">onKick</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:45</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>dpkg: <a href="../interfaces/enet.__global.enet.idecodepackage.html" class="tsd-signature-type">IDecodePackage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
								<li>
									<h5>copt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onreconnectend" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Reconnect<wbr>End</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Reconnect<wbr>End<span class="tsd-signature-symbol">(</span>isOk<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, reConnectCfg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.ireconnectconfig.html" class="tsd-signature-type">IReconnectConfig</a>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onreconnectend">onReconnectEnd</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:26</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>isOk: <span class="tsd-signature-type">boolean</span></h5>
								</li>
								<li>
									<h5>reConnectCfg: <a href="../interfaces/enet.__global.enet.ireconnectconfig.html" class="tsd-signature-type">IReconnectConfig</a></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onreconnecting" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Reconnecting</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Reconnecting<span class="tsd-signature-symbol">(</span>curCount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, reConnectCfg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.ireconnectconfig.html" class="tsd-signature-type">IReconnectConfig</a>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onreconnecting">onReconnecting</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:20</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>curCount: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>reConnectCfg: <a href="../interfaces/enet.__global.enet.ireconnectconfig.html" class="tsd-signature-type">IReconnectConfig</a></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onrequesttimeout" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Request<wbr>Timeout</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Request<wbr>Timeout<span class="tsd-signature-symbol">(</span>reqCfg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.irequestconfig.html" class="tsd-signature-type">IRequestConfig</a>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:36</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>reqCfg: <a href="../interfaces/enet.__global.enet.irequestconfig.html" class="tsd-signature-type">IRequestConfig</a></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onstartconnenct" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Start<wbr>Connenct</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Start<wbr>Connenct<span class="tsd-signature-symbol">(</span>connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onstartconnenct">onStartConnenct</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:2</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onstartreconnect" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Start<wbr>Reconnect</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Start<wbr>Reconnect<span class="tsd-signature-symbol">(</span>reConnectCfg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.ireconnectconfig.html" class="tsd-signature-type">IReconnectConfig</a>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onstartreconnect">onStartReconnect</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:17</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>reConnectCfg: <a href="../interfaces/enet.__global.enet.ireconnectconfig.html" class="tsd-signature-type">IReconnectConfig</a></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onstartrequest" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Start<wbr>Request</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Start<wbr>Request<span class="tsd-signature-symbol">(</span>reqCfg<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.irequestconfig.html" class="tsd-signature-type">IRequestConfig</a>, connectOpt<span class="tsd-signature-symbol">: </span><a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Implementation of <a href="../interfaces/enet.__global.enet.ineteventhandler.html">INetEventHandler</a>.<a href="../interfaces/enet.__global.enet.ineteventhandler.html#onstartrequest">onStartRequest</a></p>
								<ul>
									<li>Defined in packages/enet/src/default-net-event-handler.ts:29</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>reqCfg: <a href="../interfaces/enet.__global.enet.irequestconfig.html" class="tsd-signature-type">IRequestConfig</a></h5>
								</li>
								<li>
									<h5>connectOpt: <a href="../interfaces/enet.__global.enet.iconnectoptions.html" class="tsd-signature-type">IConnectOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Packages</em></a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/broadcast.html">broadcast</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/c3d_comp_template.html">c3d-<wbr>comp-<wbr>template</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/c3daxios.html">c3daxios</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/cli.html">cli</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/core.html">core</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/display_ctrl.html">display-<wbr>ctrl</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_c3d.html">dpctrl-<wbr>c3d</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_ccc.html">dpctrl-<wbr>ccc</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_fgui.html">dpctrl-<wbr>fgui</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_fguicc.html">dpctrl-<wbr>fguicc</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/egf_protobuf_cli.html">egf-<wbr>protobuf-<wbr>cli</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/emitter3.html">emitter3</a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/enet.html">enet</a>
						<ul>
							<li class=" tsd-kind-namespace tsd-parent-kind-module tsd-is-not-exported">
								<a href="../modules/enet.__global.html">__global</a>
							</li>
						</ul>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/enet_pbws.html">enet-<wbr>pbws</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/enet_pinus_pb.html">enet-<wbr>pinus-<wbr>pb</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/excel2all.html">excel2all</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/layer.html">layer</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/obj_pool.html">obj-<wbr>pool</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/xstate2c3d.html">xstate2c3d</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-module">
						<a href="../modules/broadcast.html" class="tsd-kind-icon">broadcast</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/c3d_comp_template.html" class="tsd-kind-icon">c3d-<wbr>comp-<wbr>template</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/c3daxios.html" class="tsd-kind-icon">c3daxios</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/cli.html" class="tsd-kind-icon">cli</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/core.html" class="tsd-kind-icon">core</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/display_ctrl.html" class="tsd-kind-icon">display-<wbr>ctrl</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_c3d.html" class="tsd-kind-icon">dpctrl-<wbr>c3d</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_ccc.html" class="tsd-kind-icon">dpctrl-<wbr>ccc</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_fgui.html" class="tsd-kind-icon">dpctrl-<wbr>fgui</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_fguicc.html" class="tsd-kind-icon">dpctrl-<wbr>fguicc</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/egf_protobuf_cli.html" class="tsd-kind-icon">egf-<wbr>protobuf-<wbr>cli</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/emitter3.html" class="tsd-kind-icon">emitter3</a>
					</li>
				</ul>
				<ul class="current">
					<li class="current tsd-kind-module">
						<a href="../modules/enet.html" class="tsd-kind-icon">enet</a>
						<ul>
							<li class=" tsd-kind-namespace tsd-parent-kind-module tsd-is-not-exported">
								<a href="../modules/enet.__global.html" class="tsd-kind-icon">__global</a>
							</li>
							<li class=" tsd-kind-enum tsd-parent-kind-module">
								<a href="../enums/enet.packagetype.html" class="tsd-kind-icon">Package<wbr>Type</a>
							</li>
							<li class=" tsd-kind-enum tsd-parent-kind-module">
								<a href="../enums/enet.socketstate.html" class="tsd-kind-icon">Socket<wbr>State</a>
							</li>
							<li class="current tsd-kind-class tsd-parent-kind-module">
								<a href="enet.defaultneteventhandler.html" class="tsd-kind-icon">Default<wbr>Net<wbr>Event<wbr>Handler</a>
								<ul>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onclosed" class="tsd-kind-icon">on<wbr>Closed</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onconnectend" class="tsd-kind-icon">on<wbr>Connect<wbr>End</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#oncustomerror" class="tsd-kind-icon">on<wbr>Custom<wbr>Error</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#ondata" class="tsd-kind-icon">on<wbr>Data</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onerror" class="tsd-kind-icon">on<wbr>Error</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onkick" class="tsd-kind-icon">on<wbr>Kick</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onreconnectend" class="tsd-kind-icon">on<wbr>Reconnect<wbr>End</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onreconnecting" class="tsd-kind-icon">on<wbr>Reconnecting</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onrequesttimeout" class="tsd-kind-icon">on<wbr>Request<wbr>Timeout</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onstartconnenct" class="tsd-kind-icon">on<wbr>Start<wbr>Connenct</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onstartreconnect" class="tsd-kind-icon">on<wbr>Start<wbr>Reconnect</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-class">
										<a href="enet.defaultneteventhandler.html#onstartrequest" class="tsd-kind-icon">on<wbr>Start<wbr>Request</a>
									</li>
								</ul>
							</li>
							<li class=" tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter tsd-is-not-exported">
								<a href="enet.defaultprotohandler.html" class="tsd-kind-icon">Default<wbr>Proto<wbr>Handler</a>
							</li>
							<li class=" tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter">
								<a href="enet.netnode.html" class="tsd-kind-icon">Net<wbr>Node</a>
							</li>
							<li class=" tsd-kind-class tsd-parent-kind-module">
								<a href="enet.wsocket.html" class="tsd-kind-icon">WSocket</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-module">
						<a href="../modules/enet_pbws.html" class="tsd-kind-icon">enet-<wbr>pbws</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/enet_pinus_pb.html" class="tsd-kind-icon">enet-<wbr>pinus-<wbr>pb</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/excel2all.html" class="tsd-kind-icon">excel2all</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/layer.html" class="tsd-kind-icon">layer</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/obj_pool.html" class="tsd-kind-icon">obj-<wbr>pool</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/xstate2c3d.html" class="tsd-kind-icon">xstate2c3d</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>